Ubuntu Pastebin

Paste from ddddd at Mon, 30 Jan 2017 12:26:50 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
---
- name: insert the CIRB first boot script
  copy: src=cirb-first-boot dest=/usr/sbin/cirb-first-boot owner=root group=root mode=755

- name: insert CIRB first boot systemd script
  copy: src=cirb-first-boot.service dest=/usr/lib/systemd/system/cirb-first-boot.service owner=root group=root mode=644
  when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "7"

- name: insert CIRB first boot upstart script
  copy: src=cirb-first-boot.conf dest=/etc/init/cirb-first-boot.conf owner=root group=root mode=644
  when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "6"

- name: enable the CIRB first boot service
  service: name=cirb-first-boot state=stopped enabled=yes
Download as text