ammending tags in roles

This commit is contained in:
2021-03-05 22:05:24 +00:00
parent 2e300caada
commit c600e869a0
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
- name: Install and configure Docker - name: Install and configure Docker
tags: [docker, server] tags: [docker]
become: true become: true
block: block:
- name: Install Docker - name: Install Docker

View File

@@ -14,6 +14,7 @@
shell: "{{ default_user_home }}/.pyenv/bin/pyenv install {{ pyenv_python_version }}" shell: "{{ default_user_home }}/.pyenv/bin/pyenv install {{ pyenv_python_version }}"
args: args:
creates: "{{ default_user_home }}/.pyenv/versions/{{ pyenv_python_version }}/bin/python" creates: "{{ default_user_home }}/.pyenv/versions/{{ pyenv_python_version }}/bin/python"
when: install_pyenv_python
- name: Install pipx - name: Install pipx
command: python3 -m pip install pipx --user command: python3 -m pip install pipx --user

View File

@@ -1,6 +1,6 @@
--- ---
- name: Configure SSH access - name: Configure SSH access
tags: [ssh, server] tags: [ssh]
become: true become: true
block: block:
- name: Remove any PermitRootLogin instruction - name: Remove any PermitRootLogin instruction