From 87b05f83676e4fcd295ac6e1c55308914ffcb48f Mon Sep 17 00:00:00 2001 From: Jack Zhang Date: Thu, 16 Mar 2023 22:42:25 +0800 Subject: [PATCH] Install collection from galaxy, fix typo, do not install ansible via apt-get --- .github/workflows/tox.yml | 6 ------ test/gce/scenarios/linux/requirements.yml | 1 - test/vagrant/scenarios/molecule/default-compat/destroy.yml | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 30ad719d..5dc4edeb 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -44,12 +44,6 @@ jobs: with: fetch-depth: 0 # needed by setuptools-scm - - name: Install system dependencies - run: | - sudo apt-get update \ - && sudo apt-get install -y ansible \ - && ansible-doc -l | grep gce - - name: Install Python uses: actions/setup-python@v4 with: diff --git a/test/gce/scenarios/linux/requirements.yml b/test/gce/scenarios/linux/requirements.yml index f98215b1..ac6a3656 100644 --- a/test/gce/scenarios/linux/requirements.yml +++ b/test/gce/scenarios/linux/requirements.yml @@ -1,3 +1,2 @@ collections: - name: google.cloud - source: https://github.com/ansible-collections/google.cloud diff --git a/test/vagrant/scenarios/molecule/default-compat/destroy.yml b/test/vagrant/scenarios/molecule/default-compat/destroy.yml index 3a5f313f..babf48b5 100644 --- a/test/vagrant/scenarios/molecule/default-compat/destroy.yml +++ b/test/vagrant/scenarios/molecule/default-compat/destroy.yml @@ -36,5 +36,5 @@ # Molecule managed {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: ":0600" + mode: "0600" when: server.changed | bool