mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 07:28:33 +02:00
renamed customer user group
This commit is contained in:
9
all.yml
9
all.yml
@ -1,12 +1,19 @@
|
|||||||
- hosts: datacenter
|
- hosts: datacenter
|
||||||
name: Roles
|
name: Roles
|
||||||
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
|
- name: setup
|
||||||
|
tags: setup
|
||||||
- name: common
|
- name: common
|
||||||
tags: common
|
tags: common
|
||||||
- name: hosts
|
- name: hosts
|
||||||
tags: hosts
|
tags: hosts
|
||||||
- name: ssh_config
|
- name: ssh_config
|
||||||
tags: ssh_configS
|
tags: ssh_config
|
||||||
|
- name: sshd_config
|
||||||
|
tags: sshd_config
|
||||||
|
- name: ssh_keys
|
||||||
|
tags: ssh_keys
|
||||||
- name: wake_on_lan
|
- name: wake_on_lan
|
||||||
tags: wake_on_lan
|
tags: wake_on_lan
|
||||||
- name: matter-server
|
- name: matter-server
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
---
|
# requirements.yml
|
||||||
|
# ansible-galaxy collection install -r collections/requirements.yml --force
|
||||||
collections:
|
collections:
|
||||||
- name: community.general
|
- name: community.general
|
||||||
|
source: https://galaxy.ansible.com
|
||||||
|
- name: community.docker
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
# requirements.yml
|
||||||
collections:
|
collections:
|
||||||
- name: community.general
|
- name: community.general
|
||||||
source: https://galaxy.ansible.com
|
source: https://galaxy.ansible.com
|
||||||
|
- name: community.docker
|
||||||
|
@ -17,3 +17,8 @@
|
|||||||
owner: jd
|
owner: jd
|
||||||
group: jd
|
group: jd
|
||||||
when: inventory_hostname != 'nas.home.lan'
|
when: inventory_hostname != 'nas.home.lan'
|
||||||
|
- name: Set authorized key taken from file
|
||||||
|
ansible.posix.authorized_key:
|
||||||
|
user: jd
|
||||||
|
state: present
|
||||||
|
key: "{{ lookup('file', '/home/jd/.ssh/id_rsa.pub') }}"
|
||||||
|
Reference in New Issue
Block a user