Added all files
This commit is contained in:
12
examples/000_initial_examples/etc_ansible_hosts
Executable file
12
examples/000_initial_examples/etc_ansible_hosts
Executable file
@@ -0,0 +1,12 @@
|
||||
[loadbalancer]
|
||||
lb01 ansible_connection=local
|
||||
|
||||
[webserver]
|
||||
app01 ansible_connection=local
|
||||
app02 ansible_connection=local
|
||||
|
||||
[database]
|
||||
db01 ansible_connection=local
|
||||
|
||||
[control]
|
||||
control ansible_connection=local
|
||||
5
examples/000_initial_examples/hostname.yml
Normal file
5
examples/000_initial_examples/hostname.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: get server hostname
|
||||
command: hostname
|
||||
12
examples/000_initial_examples/your-first-hosts-file
Normal file
12
examples/000_initial_examples/your-first-hosts-file
Normal file
@@ -0,0 +1,12 @@
|
||||
[loadbalancer]
|
||||
lb01
|
||||
|
||||
[webserver]
|
||||
app01
|
||||
app02
|
||||
|
||||
[database]
|
||||
db01
|
||||
|
||||
[control]
|
||||
control ansible_connection=local
|
||||
Reference in New Issue
Block a user