mirror of
https://github.com/ansible/ansible.git
synced 2026-02-03 20:40:24 -05:00
Merge 785f981476 into 7f17759bfe
This commit is contained in:
commit
eafa42e2ea
46 changed files with 46 additions and 46 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
FROM ansibleplaybookbundle/apb-base
|
||||
|
||||
LABEL "com.redhat.apb.spec"=\
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
DOCKERHOST = DOCKERHOST
|
||||
DOCKERORG = DOCKERORG
|
||||
IMAGENAME = {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
version: '1.0.0'
|
||||
name: {{ role_name }}
|
||||
description: {{ description }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
galaxy_info:
|
||||
author: {{ author }}
|
||||
description: {{ description }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
- name: "{{ role_name }} playbook to deprovision the application"
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
- name: "{{ role_name }} playbook to provision the application"
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
[defaults]
|
||||
inventory=./inventory
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
localhost
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# vars file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
# Copyright (c) 2019 Ansible Project
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
# Add your Ansible Container service definitions here.
|
||||
# For example:
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
galaxy_info:
|
||||
author: {{ author }}
|
||||
description: {{ description }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
[defaults]
|
||||
inventory=./inventory
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
localhost
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# vars file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
### REQUIRED
|
||||
{% for option in required_config %}
|
||||
{{ option.description | comment_ify }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# Collections must specify a minimum required ansible version to upload
|
||||
# to galaxy
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
galaxy_info:
|
||||
author: {{ author }}
|
||||
description: {{ description }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
localhost
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# vars file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
galaxy_info:
|
||||
author: {{ author }}
|
||||
description: {{ description }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
#
|
||||
# (c) 2018 Red Hat Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
localhost
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
- hosts: localhost
|
||||
connection: network_cli
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
# SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# vars file for {{ role_name }}
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ class ValidRoleTests(object):
|
|||
if self.role_name == 'delete_me_skeleton':
|
||||
expected_string = "---\n# {0} file for {1}".format(d, self.role_name)
|
||||
else:
|
||||
expected_string = "#SPDX-License-Identifier: MIT-0\n---\n# {0} file for {1}".format(d, self.role_name)
|
||||
expected_string = "# SPDX-License-Identifier: MIT-0\n---\n# {0} file for {1}".format(d, self.role_name)
|
||||
with open(main_yml, 'r') as f:
|
||||
self.assertEqual(expected_string, f.read().strip())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue