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:
|
||||
dest: /etc/default/epoptes-client
|
||||
regexp: "^#SERVER=server"
|
||||
line: "SERVER={{ epo_srv_name.stdout }}"
|
||||
state: present
|
||||
replace: "SERVER={{ epo_srv_name.stdout }}"
|
||||
when: epo_srv_name|changed
|
||||
|
||||
- name: Checking for an already existent certificate
|
||||
|
@ -6,6 +6,15 @@
|
||||
line: 'deb http://bglug.sys42.eu/ubuntu trusty main'
|
||||
create: yes
|
||||
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
|
||||
apt:
|
||||
|
Loading…
x
Reference in New Issue
Block a user