Skip to content

Commit

Permalink
examples added3
Browse files Browse the repository at this point in the history
  • Loading branch information
Student User committed Jan 12, 2023
1 parent 23e43bb commit 0dd1375
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
12 changes: 1 addition & 11 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
[defaults]
inventory = /home/student/config/inventory
inventory = inventory
remote_user = devops
vault_password_file = /home/student/config/.vault_pass
ansible_managed = ANSIBLE MANAGED ENTRY
roles_path = /etc/ansible/roles:/usr/share/ansible/roles:/home/student/config/roles
log_path = /home/student/config/ansible.log


[privilege_escalation]
become=yes
become_method=sudo

1 change: 1 addition & 0 deletions filters/.ssh/known_hosts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
serverc.lab.example.com,172.25.250.12 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCES4bZoDbhU0At5pVnccTsYWjKeB2nEjJ3dZCG1lRA3oQJvnPDzRTHzXBw/uBNx2vaBoFZpUzTddPNN8g4yKPY=
serverd.lab.example.com,172.25.250.13 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCES4bZoDbhU0At5pVnccTsYWjKeB2nEjJ3dZCG1lRA3oQJvnPDzRTHzXBw/uBNx2vaBoFZpUzTddPNN8g4yKPY=
4 changes: 1 addition & 3 deletions filters/inventory
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
localhost

[dev]
serverc.lab.example.com
serverd.lab.example.com
3 changes: 2 additions & 1 deletion inventory
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
server[a:d].lab.example.com
[dev]
serverd.lab.example.com

0 comments on commit 0dd1375

Please sign in to comment.