瀏覽代碼

lingering improvements

master
父節點
當前提交
7243cb3ea1
共有 3 個檔案被更改,包括 11 行新增0 行删除
  1. +2
    -0
      tasks/linger.yml
  2. +2
    -0
      tasks/main.yml
  3. +7
    -0
      tasks/setup_Debian.yml

+ 2
- 0
tasks/linger.yml 查看文件

@@ -5,6 +5,8 @@
path: /var/lib/systemd/linger/{{item}}
register: _users_systemd_linger_stat
with_items: "{{ users.keys() }}"
when:
- users[item].linger is defined

- name: set systemd lingering
command:


+ 2
- 0
tasks/main.yml 查看文件

@@ -1,5 +1,7 @@
---

- include: setup_{{ansible_os_family}}.yml

- include: user_groups.yml
when: user_groups is defined



+ 7
- 0
tasks/setup_Debian.yml 查看文件

@@ -0,0 +1,7 @@
---

- name: install debian packages
package:
name: "{{ item }}"
with_items:
- dbus

Loading…
取消
儲存