Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioning support #295

Merged
merged 11 commits into from
Sep 30, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove tftp stuff the installer already does
  • Loading branch information
stbenjam committed Sep 20, 2016
commit 65d0ed0798f3f966c74e705de45eb37eba3b6112
1 change: 1 addition & 0 deletions playbooks/library
21 changes: 1 addition & 20 deletions playbooks/roles/katello_provisioning/tasks/libvirt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,9 @@
name: provision
xml: '{{ lookup("template", "../templates/storage.xml.j2") }}'

# Setup TFTP for libvirt
- name: 'create /var/lib/tftpboot'
- name: 'create /var/lib/tftpboot so libvirt starts'
file: path=/var/lib/tftpboot state=directory mode=0755

#- name: 'create /var/lib/tftpboot/boot'
#file: path=/var/lib/tftpboot/boot state=directory mode=0755

#- name: 'create /var/lib/tftpboot/pxelinux.cfg'
#file: path=/var/lib/tftpboot/pxelinux.cfg state=directory mode=0755

#- name: 'install syslinux for tftp directory'
#yum: name=syslinux state=present

#- name: 'copy syslinux files to /var/lib/tftpboot'
#shell: cp /usr/share/syslinux/{pxelinux.0,menu.c32,chain.c32} /var/lib/tftpboot

#- name: 'chown /var/lib/tftpboot for foreman-proxy user'
#shell: chown -R foreman-proxy:nobody /var/lib/tftpboot

#- name: 'setuid on /var/lib/tftpboot'
#shell: find /var/lib/tftpboot/ -type d | xargs chmod g+s

- name: 'start the provision libvirt network'
virt_net: state=active name=provision

Expand Down
4 changes: 4 additions & 0 deletions playbooks/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- hosts: all
become: true
roles:
- test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended to be here still?

1 change: 1 addition & 0 deletions playbooks/test/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional file?