New files for linux operation with Ansible
This commit is contained in:
parent
ada000c689
commit
4617424518
2
linux-ubuntu/ansible.cfg
Normal file
2
linux-ubuntu/ansible.cfg
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[defaults]
|
||||||
|
private_key_file = /home/vlad/.ssh/id_rsa
|
||||||
3
linux-ubuntu/inventory.yml
Normal file
3
linux-ubuntu/inventory.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
172.16.1.112
|
||||||
11
linux-ubuntu/main.yml
Normal file
11
linux-ubuntu/main.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- common
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Update apt cache and make sure Vim is installed
|
||||||
|
apt:
|
||||||
|
name: vim
|
||||||
|
update_cache: yes
|
||||||
10
linux-ubuntu/roles/common/vars/main.yml
Normal file
10
linux-ubuntu/roles/common/vars/main.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
30663731353038306664656333313032613039636134333435383762613735666562653432323363
|
||||||
|
6637363832633337623436396163333237613534373033340a623362313361313565636332343363
|
||||||
|
63343838656334373730303139616466323061383338343939313662356466646465333363666662
|
||||||
|
3233376264313864300a323830666635323838643530393436393736323336343138383332323365
|
||||||
|
38623962633165316262633963323461376530393133646532376561396130313565646663633766
|
||||||
|
65373538393233373633393031323137323462343938323262636439663133323237303335616563
|
||||||
|
64656262353931393635396361343131356632623836393835616462653439353734366461323432
|
||||||
|
35373562306261666330663162613731363263623034623463646662346335366239306366626239
|
||||||
|
3030
|
||||||
Loading…
Reference in New Issue
Block a user