New files for linux operation with Ansible

This commit is contained in:
Vlad R 2022-03-23 21:40:33 +00:00
parent ada000c689
commit 4617424518
4 changed files with 26 additions and 0 deletions

2
linux-ubuntu/ansible.cfg Normal file
View File

@ -0,0 +1,2 @@
[defaults]
private_key_file = /home/vlad/.ssh/id_rsa

View File

@ -0,0 +1,3 @@
all:
hosts:
172.16.1.112

11
linux-ubuntu/main.yml Normal file
View 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

View File

@ -0,0 +1,10 @@
$ANSIBLE_VAULT;1.1;AES256
30663731353038306664656333313032613039636134333435383762613735666562653432323363
6637363832633337623436396163333237613534373033340a623362313361313565636332343363
63343838656334373730303139616466323061383338343939313662356466646465333363666662
3233376264313864300a323830666635323838643530393436393736323336343138383332323365
38623962633165316262633963323461376530393133646532376561396130313565646663633766
65373538393233373633393031323137323462343938323262636439663133323237303335616563
64656262353931393635396361343131356632623836393835616462653439353734366461323432
35373562306261666330663162613731363263623034623463646662346335366239306366626239
3030