From fd503278ae598006fae9687f7d9a695ab6996af2 Mon Sep 17 00:00:00 2001 From: EnricoGuccii Date: Mon, 1 Jun 2026 00:56:16 +0200 Subject: ansible and terraform integration --- ansible/inventory.ini | 2 ++ ansible/playbook.yml | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100755 ansible/inventory.ini create mode 100644 ansible/playbook.yml (limited to 'ansible') 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 -- cgit v1.2.3