ammending tags in roles
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user