File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 126126
127127 - name : Symlink/Remove NetBox LDAP configuration file into/from the active NetBox release
128128 ansible.builtin.file :
129+ # Omitting the src attribute is necessary when state: absent
129130 src : " {{ netbox_shared_path + '/ldap_config.py' if netbox_ldap_enabled else omit }}"
130131 dest : " {{ netbox_config_path }}/ldap_config.py"
131132 owner : " {{ netbox_user }}"
146147
147148 - name : Symlink/Remove NetBox local_settings.py file into/from the active NetBox release
148149 ansible.builtin.file :
149- src : " {{ netbox_shared_path }}/local_settings.py"
150+ # Omitting the src attribute is necessary when state: absent
151+ src : " {{ netbox_shared_path + '/local_settings.py' if netbox_local_settings_file is defined else omit }}"
150152 dest : " {{ netbox_config_path }}/local_settings.py"
151153 owner : " {{ netbox_user }}"
152154 group : " {{ netbox_group }}"
You can’t perform that action at this time.
0 commit comments