Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
07e67667
Commit
07e67667
authored
Nov 19, 2017
by
julian.gethmann
Committed by
julian.gethmann
Apr 10, 2018
Browse files
Workaround broken networkmanager features
parent
55b98a07
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/common/tasks/hostname.yml
View file @
07e67667
---
---
-
name
:
install needed network manager libs
#
- name: install needed network manager libs
become
:
yes
#
become: yes
dnf
:
#
dnf:
name
:
'
{{
item
}}'
#
name: '{{ item }}'
state
:
present
#
state: present
with_items
:
#
with_items:
-
NetworkManager-glib
#
- NetworkManager-glib
-
libnm-qt-devel.x86_64
#
- libnm-qt-devel.x86_64
-
nm-connection-editor.x86_64
#
- nm-connection-editor.x86_64
-
libsemanage-python
#
- libsemanage-python
-
policycoreutils-python
#
- policycoreutils-python
when
:
(ansible_distribution == "Fedora" or ansible_distribution == "CentOS")
#
when:
(
(ansible_distribution == "Fedora"
and ansible_distribution_number < 27)
or ansible_distribution == "CentOS")
# does not work at the moment
# does not work at the moment
# - name: set DNS Server
# - name: set DNS Server
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment