Обновить test-playbooks/add_user.yml

This commit is contained in:
2025-12-02 15:54:43 +00:00
parent fa5582d751
commit ec35b4e015

View File

@@ -0,0 +1,16 @@
---
- hosts: all
become: yes
gather_facts: no
serial: 100
vars:
wheel: wheel
tasks:
- include_vars: single_user.yml
- name: add administrators on all servers
user: name={{item.user}} password={{item.password}} groups={{item.groups}}
with_items: '{{admins}}'
register: task
- include: tasks/collect_changed_hosts.yml