fstone
This commit is contained in:
commit
97728c1201
7
ansible.cfg
Normal file
7
ansible.cfg
Normal file
@ -0,0 +1,7 @@
|
||||
[defaults]
|
||||
# Use the YAML callback plugin.
|
||||
stdout_callback = yaml
|
||||
# Use the stdout_callback when running ad-hoc commands.
|
||||
bin_ansible_callbacks = True
|
||||
|
||||
host_key_checking = false
|
4
environments/base/group_vars/all/ssh-creds.yml
Normal file
4
environments/base/group_vars/all/ssh-creds.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
ansible_ssh_user: hogweed1
|
||||
ansible_ssh_pass: coloredhorses
|
||||
ansible_sudo_pass: coloredhorses
|
18
environments/base/hosts.yml
Normal file
18
environments/base/hosts.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
all: # keys must be unique, i.e. only one 'hosts' per group
|
||||
hosts:
|
||||
semyon-0x01.guaranteedstruggle.host:
|
||||
semyon-0x02.guaranteedstruggle.host:
|
||||
semyon-0x03.guaranteedstruggle.host:
|
||||
semyon-0x04.guaranteedstruggle.host:
|
||||
semyon-0x05.guaranteedstruggle.host:
|
||||
|
||||
samehost-zero.guaranteedstruggle.host:
|
||||
|
||||
puppets: # keys must be unique, i.e. only one 'hosts' per group
|
||||
hosts:
|
||||
semyon-0x01.guaranteedstruggle.host:
|
||||
semyon-0x02.guaranteedstruggle.host:
|
||||
semyon-0x03.guaranteedstruggle.host:
|
||||
semyon-0x04.guaranteedstruggle.host:
|
||||
semyon-0x05.guaranteedstruggle.host:
|
10
playbooks/pingo.yml
Normal file
10
playbooks/pingo.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: pingu
|
||||
hosts: all
|
||||
# remote_user: root
|
||||
|
||||
become: yes
|
||||
tasks:
|
||||
- name: pingu!
|
||||
ansible.builtin.ping:
|
||||
|
19
playbooks/run-puppet.yml
Normal file
19
playbooks/run-puppet.yml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: run it
|
||||
hosts: puppets
|
||||
gather_facts: no
|
||||
become: yes
|
||||
tasks:
|
||||
- name: run 'em
|
||||
community.general.puppet:
|
||||
summarize: true
|
||||
|
||||
- name: run it 2
|
||||
hosts: samehost-zero.guaranteedstruggle.host
|
||||
gather_facts: no
|
||||
become: yes
|
||||
tasks:
|
||||
- name: run this
|
||||
community.general.puppet:
|
||||
summarize: yes
|
||||
certname: samehost-zero.guaranteedstuggle.host
|
Loading…
Reference in New Issue
Block a user