Fixing issue with configuration of epoptes on client. Configuring the local mirrored sys42 repo.
This commit is contained in:
parent
7641fd93f3
commit
f21d61364f
@ -23,8 +23,7 @@
|
|||||||
replace:
|
replace:
|
||||||
dest: /etc/default/epoptes-client
|
dest: /etc/default/epoptes-client
|
||||||
regexp: "^#SERVER=server"
|
regexp: "^#SERVER=server"
|
||||||
line: "SERVER={{ epo_srv_name.stdout }}"
|
replace: "SERVER={{ epo_srv_name.stdout }}"
|
||||||
state: present
|
|
||||||
when: epo_srv_name|changed
|
when: epo_srv_name|changed
|
||||||
|
|
||||||
- name: Checking for an already existent certificate
|
- name: Checking for an already existent certificate
|
||||||
|
@ -6,6 +6,15 @@
|
|||||||
line: 'deb http://bglug.sys42.eu/ubuntu trusty main'
|
line: 'deb http://bglug.sys42.eu/ubuntu trusty main'
|
||||||
create: yes
|
create: yes
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_product_name == 'VirtualBox'
|
||||||
|
|
||||||
|
- name: Adding mirrored sys42 repo
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/apt/sources.list.d/sys42.list
|
||||||
|
line: 'deb http://{{ ansible_local.domain.mirrorpath }}bglug.sys42.eu/ubuntu trusty main'
|
||||||
|
create: yes
|
||||||
|
state: present
|
||||||
|
when: ansible_product_name != 'VirtualBox'
|
||||||
|
|
||||||
- name: Reloading available packages
|
- name: Reloading available packages
|
||||||
apt:
|
apt:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user