Commit 3adfcfcd by Edward Zarecor

Hacking out AWS specific commands.

parent 78ba8aef
FROM ubuntu:precise
MAINTAINER e0d
MAINTAINER edxops
RUN apt-get update
RUN apt-get -y install sudo
......
......@@ -104,18 +104,18 @@
hostname -F /etc/hostname
when: COMMON_HOSTNAME|length >0 and (etc_hosts.changed or etc_hostname.changed)
- name: update /etc/dhcp/dhclient.conf
template: src=etc/dhcp/dhclient.conf.j2 dest=/etc/dhcp/dhclient.conf
when: COMMON_CUSTOM_DHCLIENT_CONFIG
- name: add ssh-warning banner motd
template: >
dest=/etc/motd.tail
src={{ COMMON_MOTD_TEMPLATE }} mode=0755 owner=root group=root
- name: update ssh config
template: >
dest=/etc/ssh/sshd_config
src=sshd_config.j2 mode=0644 owner=root group=root
notify: restart ssh
#- name: update /etc/dhcp/dhclient.conf
# template: src=etc/dhcp/dhclient.conf.j2 dest=/etc/dhcp/dhclient.conf
# when: COMMON_CUSTOM_DHCLIENT_CONFIG
#- name: add ssh-warning banner motd
# template: >
# dest=/etc/motd.tail
# src={{ COMMON_MOTD_TEMPLATE }} mode=0755 owner=root group=root
#- name: update ssh config
# template: >
# dest=/etc/ssh/sshd_config
# src=sshd_config.j2 mode=0644 owner=root group=root
# notify: restart ssh
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment