summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorEnricoGuccii <partyka.003@proton.me>2026-06-01 00:56:16 +0200
committerEnricoGuccii <partyka.003@proton.me>2026-06-01 00:56:16 +0200
commitfd503278ae598006fae9687f7d9a695ab6996af2 (patch)
tree49b57ce61fcbfede350c4a8c7bfab7b4f361fd46 /ansible
parent1b883498b31c06447e122430f5c7d2786dd8cedf (diff)
ansible and terraform integration
Diffstat (limited to 'ansible')
-rwxr-xr-xansible/inventory.ini2
-rw-r--r--ansible/playbook.yml10
2 files changed, 12 insertions, 0 deletions
diff --git a/ansible/inventory.ini b/ansible/inventory.ini
new file mode 100755
index 0000000..bc64677
--- /dev/null
+++ b/ansible/inventory.ini
@@ -0,0 +1,2 @@
+[lxc]
+192.168.0.150 ansible_user=root ansible_password='haslo123' ansible_ssh_common_args='-o StrictHostKeyChecking=no'
diff --git a/ansible/playbook.yml b/ansible/playbook.yml
new file mode 100644
index 0000000..8de2f15
--- /dev/null
+++ b/ansible/playbook.yml
@@ -0,0 +1,10 @@
+- name: LXC conf
+ hosts: lxc
+ gather_facts: yes
+ become: yes
+
+ tasks:
+ - name: Instalacja vima
+ ansible.builtin.apt:
+ name: vim
+ state: present