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
|
||||
name: Roles
|
||||
gather_facts: false
|
||||
roles:
|
||||
- name: setup
|
||||
tags: setup
|
||||
- name: common
|
||||
tags: common
|
||||
- name: hosts
|
||||
tags: hosts
|
||||
- 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
|
||||
tags: wake_on_lan
|
||||
- name: matter-server
|
||||
|
@ -1,3 +1,6 @@
|
||||
---
|
||||
# requirements.yml
|
||||
# ansible-galaxy collection install -r collections/requirements.yml --force
|
||||
collections:
|
||||
- name: community.general
|
||||
- name: community.general
|
||||
source: https://galaxy.ansible.com
|
||||
- name: community.docker
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# requirements.yml
|
||||
collections:
|
||||
- name: community.general
|
||||
source: https://galaxy.ansible.com
|
||||
|
||||
- name: community.docker
|
||||
|
@ -17,3 +17,8 @@
|
||||
owner: jd
|
||||
group: jd
|
||||
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