Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ansible_become: false to tasks install.yml and install_podman.yml #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
stat:
path: "{{ role_path }}/files/nomad_{{ nomad_version }}_SHA256SUMS"
become: false
vars:
ansible_become: false
run_once: true
tags: installation
register: nomad_checksum
Expand All @@ -29,6 +31,8 @@
url: "{{ nomad_checksum_file_url }}"
dest: "{{ role_path }}/files/nomad_{{ nomad_version }}_SHA256SUMS"
become: false
vars:
ansible_become: false
run_once: true
tags: installation
when: not nomad_checksum.stat.exists
Expand All @@ -41,6 +45,8 @@
args:
executable: /bin/bash
become: false
vars:
ansible_become: false
register: nomad_sha256
tags: installation
delegate_to: 127.0.0.1
Expand All @@ -49,6 +55,8 @@
stat:
path: "{{ role_path }}/files/{{ nomad_pkg }}"
become: false
vars:
ansible_become: false
register: nomad_package
delegate_to: 127.0.0.1

Expand All @@ -59,6 +67,8 @@
checksum: "sha256:{{ nomad_sha256.stdout }}"
timeout: "42"
become: false
vars:
ansible_become: false
tags: installation
delegate_to: 127.0.0.1
when: not nomad_package.stat.exists
Expand All @@ -68,6 +78,8 @@
state: directory
prefix: ansible-nomad.
become: false
vars:
ansible_become: false
register: install_temp
tags: installation
delegate_to: 127.0.0.1
Expand All @@ -78,6 +90,8 @@
dest: "{{ install_temp.path }}/"
creates: "{{ install_temp.path }}/nomad"
become: false
vars:
ansible_become: false
tags: installation
delegate_to: 127.0.0.1

Expand All @@ -95,5 +109,7 @@
path: "{{ install_temp.path }}"
state: "absent"
become: false
vars:
ansible_become: false
tags: installation
delegate_to: 127.0.0.1
16 changes: 16 additions & 0 deletions tasks/install_podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
stat:
path: "{{ role_path }}/files/nomad_podman_{{ nomad_podman_version }}_SHA256SUMS"
become: false
vars:
ansible_become: false
run_once: true
tags: installation
register: nomad_podman_checksum
Expand All @@ -15,6 +17,8 @@
url: "{{ nomad_podman_checksum_file_url }}"
dest: "{{ role_path }}/files/nomad_podman_{{ nomad_podman_version }}_SHA256SUMS"
become: false
vars:
ansible_become: false
run_once: true
tags: installation
when: not nomad_podman_checksum.stat.exists
Expand All @@ -27,6 +31,8 @@
args:
executable: /bin/bash
become: false
vars:
ansible_become: false
register: nomad_podman_sha256
tags: installation
delegate_to: 127.0.0.1
Expand All @@ -35,6 +41,8 @@
stat:
path: "{{ role_path }}/files/{{ nomad_podman_pkg }}"
become: false
vars:
ansible_become: false
register: nomad_podman_package
delegate_to: 127.0.0.1

Expand All @@ -45,6 +53,8 @@
checksum: "sha256:{{ nomad_podman_sha256.stdout }}"
timeout: "42"
become: false
vars:
ansible_become: false
tags: installation
delegate_to: 127.0.0.1
when: not nomad_podman_package.stat.exists
Expand All @@ -54,6 +64,8 @@
state: directory
prefix: ansible-nomad.
become: false
vars:
ansible_become: false
register: install_temp
tags: installation
delegate_to: 127.0.0.1
Expand All @@ -64,6 +76,8 @@
dest: "{{ install_temp.path }}/"
creates: "{{ install_temp.path }}/nomad-driver-podman"
become: false
vars:
ansible_become: false
tags: installation
delegate_to: 127.0.0.1

Expand All @@ -82,5 +96,7 @@
path: "{{ install_temp.path }}"
state: "absent"
become: false
vars:
ansible_become: false
tags: installation
delegate_to: 127.0.0.1