浏览代码

fix ansible_creation_uid var name in bootstrap role

Blaine Story 3 年之前
父节点
当前提交
bdee2e98fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/bootstrap/tasks/main.yml

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

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