Ver código fonte

move default ansible uid to 1300

Blaine Story 3 anos atrás
pai
commit
00946f4355

+ 1 - 2
roles/bootstrap/defaults/main.yml

@@ -2,5 +2,4 @@
 ansible_ssh_key_path: "~/.ssh/ansible_rsa.pub"
 ansible_username: "ansible"
 ansible_ssh_user: "root"
-bootstrap_hosts: "bootstrap"
-os_family: "redhat"
+ansible_creation_uid: "1300"

+ 1 - 0
roles/bootstrap/tasks/main.yml

@@ -44,6 +44,7 @@
     name: ansible
     state: present
     shell: /bin/bash
+    uid: "{{ ansible_uid }}"
     create_home: yes
   when:
     - ansible_os_family != 'LibreELEC'