From 7fc3e917ced286bae2694947dd58de70c27bd406 Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 9 Mar 2020 16:59:36 +0100 Subject: [PATCH 1/2] increase version and use ansible env (again) --- README.md | 2 +- defaults/main.yml | 2 +- vars/main.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index edc563b..b5a748f 100644 --- a/README.md +++ b/README.md @@ -84,5 +84,5 @@ submodules_versioncheck: false ranger: repo: 'https://github.com/ranger/ranger.git' branch: 'master' - download_directory: "{{ x_ansible_download_dir | default('~/.ansible/tmp/downloads/ranger') }}" + download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}" ``` diff --git a/defaults/main.yml b/defaults/main.yml index c2f6ec5..e696e82 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -6,4 +6,4 @@ submodules_versioncheck: false ranger: repo: 'https://github.com/ranger/ranger.git' branch: 'master' - download_directory: "{{ x_ansible_download_dir | default('~/.ansible/tmp/downloads/ranger') }}" + download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}" diff --git a/vars/main.yml b/vars/main.yml index a1d114c..5341168 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,10 +1,10 @@ --- # versionscheck -playbook_version_number: 1025 # should be over ninethousand -playbook_version_path: 'role-ranger_roles-ansible_github.com.version' +playbook_version_number: 1026 # should be over ninethousand +playbook_version_path: 'role-ranger_roles-ansible_github.com.version' # variables for ranger _ranger: repo: 'https://github.com/ranger/ranger.git' branch: 'master' - download_directory: "{{ x_ansible_download_dir | default('~/.ansible/tmp/downloads/ranger') }}" + download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}" From a92a6930519ff82e226143d336975f045338b7c4 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 14 Mar 2020 16:39:25 +0100 Subject: [PATCH 2/2] Add action check for fedorra (latest + 33) --- .github/workflows/ansible-fedora-33.yml | 16 ++++++++++++++++ .github/workflows/ansible-fedora-latest.yml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/ansible-fedora-33.yml create mode 100644 .github/workflows/ansible-fedora-latest.yml diff --git a/.github/workflows/ansible-fedora-33.yml b/.github/workflows/ansible-fedora-33.yml new file mode 100644 index 0000000..6032811 --- /dev/null +++ b/.github/workflows/ansible-fedora-33.yml @@ -0,0 +1,16 @@ +name: Ansible check fedora:33 + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: ansible check with fedora:33 + uses: roles-ansible/check-ansible-fedora-33-action@master + with: + targets: "./" diff --git a/.github/workflows/ansible-fedora-latest.yml b/.github/workflows/ansible-fedora-latest.yml new file mode 100644 index 0000000..b2c6550 --- /dev/null +++ b/.github/workflows/ansible-fedora-latest.yml @@ -0,0 +1,16 @@ +name: Ansible check fedora:latest + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: ansible check with fedora:latest + uses: roles-ansible/check-ansible-fedora-latest-action@master + with: + targets: "./"