From e2f116b54dddc09ed65e886454b05494c7e4062e Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Fri, 29 Mar 2024 15:47:31 +0000 Subject: [PATCH] Trigger all secrets playbooks --- infra/secrets/0000_proxmox_playbook.yaml | 1 - infra/secrets/0001_initialise_playbook.yaml | 2 +- infra/secrets/0002_docker_playbook.yaml | 1 + infra/secrets/0003_infiscal_playbook.yaml | 2 -- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/infra/secrets/0000_proxmox_playbook.yaml b/infra/secrets/0000_proxmox_playbook.yaml index 7e603a6..1dcdaeb 100644 --- a/infra/secrets/0000_proxmox_playbook.yaml +++ b/infra/secrets/0000_proxmox_playbook.yaml @@ -104,7 +104,6 @@ cores: 4 memory: 4096 cpu: x86-64-v3,flags=+spec-ctrl;+aes - - name: Retart VM community.general.proxmox_kvm: state: restarted diff --git a/infra/secrets/0001_initialise_playbook.yaml b/infra/secrets/0001_initialise_playbook.yaml index b2aff9d..2fa6e7e 100644 --- a/infra/secrets/0001_initialise_playbook.yaml +++ b/infra/secrets/0001_initialise_playbook.yaml @@ -39,4 +39,4 @@ fstype: ext4 opts: rw,errors=remount-ro,x-systemd.growfs state: mounted - become: true \ No newline at end of file + become: true diff --git a/infra/secrets/0002_docker_playbook.yaml b/infra/secrets/0002_docker_playbook.yaml index e7b346f..de544a0 100644 --- a/infra/secrets/0002_docker_playbook.yaml +++ b/infra/secrets/0002_docker_playbook.yaml @@ -5,6 +5,7 @@ - name: Wait for connection ansible.builtin.wait_for_connection: timeout: 300 + - name: Install dependencies ansible.builtin.apt: update_cache: true diff --git a/infra/secrets/0003_infiscal_playbook.yaml b/infra/secrets/0003_infiscal_playbook.yaml index 70f2920..a02d149 100644 --- a/infra/secrets/0003_infiscal_playbook.yaml +++ b/infra/secrets/0003_infiscal_playbook.yaml @@ -21,7 +21,6 @@ src: "./{{ app }}" dest: "{{ user.home }}" mode: "0744" - - name: Replace Encryption Key secret ansible.builtin.replace: path: "{{ user.home }}/{{ app }}/.env" @@ -37,7 +36,6 @@ path: "{{ user.home }}/{{ app }}/.env" regexp: "SMTP_PASSWORD_VALUE" replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}" - - name: Docker compose up -d ansible.builtin.command: docker compose up -d args: -- 2.40.1