diff --git a/roles/geodns/tasks/main.yml b/roles/geodns/tasks/main.yml index 6e09285afa2ed05b1fea4370faaad9de9323f17f..dde73ce5df2be274aedc152d9d2438e76472431e 100644 --- a/roles/geodns/tasks/main.yml +++ b/roles/geodns/tasks/main.yml @@ -6,7 +6,7 @@ - netcat-openbsd - name: Install Ansible community.general - ansible.builtin.shell: + shell: cmd: "ansible-galaxy collection install community.general" - name: Check if go binary exists @@ -84,7 +84,7 @@ - "enable geodns job" - name: Run GeoDns config job once - ansible.builtin.command: + command: cmd: "/opt/geodns/config/geoconfig.py {{ tld }}" chdir: "{{ geodns_config }}" diff --git a/roles/local/tasks/main.yml b/roles/local/tasks/main.yml index 247e1b687f68da2983eb4ebc7a576987e24e00e5..7beb6ecbc7606b18f82b5621fe7be925278c0b53 100644 --- a/roles/local/tasks/main.yml +++ b/roles/local/tasks/main.yml @@ -13,6 +13,6 @@ register: mdxsaas_git - name: Write MDX-SAAS repo version - ansible.builtin.shell: + shell: cmd: "git rev-parse HEAD > /tmp/mdx-saas-revision" chdir: "{{ mdxsaas_dir }}"