luks_ssh: Compatibility with RockyLinux
This commit is contained in:
parent
a65202c741
commit
351fa7fb05
1 changed files with 11 additions and 0 deletions
|
@ -122,4 +122,15 @@
|
|||
masked: true
|
||||
become: true
|
||||
when:
|
||||
- ansible_os_family == "RedHat" and not ansible_distribution == "Rocky"
|
||||
- luks_ssh_disable_state_import
|
||||
|
||||
- name: Disable import-state service, so that it doesn not overwrite ifcfg scripts.
|
||||
systemd:
|
||||
name: "import-state"
|
||||
enabled: false
|
||||
masked: true
|
||||
become: true
|
||||
when:
|
||||
- ansible_distribution == "Rocky"
|
||||
- luks_ssh_disable_state_import
|
||||
|
|
Loading…
Add table
Reference in a new issue