diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2016-01-06 21:25:10 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2016-01-06 21:25:10 +0000 |
| commit | 4cafc2bd37c2e5dec07790109a4910899407665e (patch) | |
| tree | 080b66dc5c07551222f9dcc5e86a3874acdc5f73 /tasks/cloud_setup_basic.yml | |
| parent | ba759193265099c775b7ec87b1b573f6939ad007 (diff) | |
| download | ansible-4cafc2bd37c2e5dec07790109a4910899407665e.tar.gz ansible-4cafc2bd37c2e5dec07790109a4910899407665e.tar.xz ansible-4cafc2bd37c2e5dec07790109a4910899407665e.zip | |
Fix all tasks to not use old action: statements.
Diffstat (limited to 'tasks/cloud_setup_basic.yml')
| -rw-r--r-- | tasks/cloud_setup_basic.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tasks/cloud_setup_basic.yml b/tasks/cloud_setup_basic.yml index 8247b10e1..1e5db4e3d 100644 --- a/tasks/cloud_setup_basic.yml +++ b/tasks/cloud_setup_basic.yml @@ -17,23 +17,23 @@ - packages - name: put step-tickers in place - action: copy src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers + copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers when: ansible_cmdline.ostree is not defined tags: - ntp - config - name: enable the service - action: service name=ntpd state=running enabled=true + service: name=ntpd state=running enabled=true when: ansible_cmdline.ostree is not defined #- name: edit hostname to be instance name - prefix hostbase var if it exists -# action: shell hostname {{ hostbase }}`curl -s http://169.254.169.254/latest/meta-data/instance-id` +# shell: hostname {{ hostbase }}`curl -s http://169.254.169.254/latest/meta-data/instance-id` # tags: # - config - name: add ansible root key - action: authorized_key user=root key="{{ item }}" + authorized_key: user=root key="{{ item }}" with_file: - /srv/web/infra/ansible/roles/base/files/ansible-pub-key tags: @@ -49,12 +49,12 @@ ignore_errors: true - name: enable ssh_sysadm_login sebool - action: seboolean name=ssh_sysadm_login state=yes persistent=yes + seboolean: name=ssh_sysadm_login state=yes persistent=yes ignore_errors: true # note - kinda should be a handler - but handlers need args - name: restorecon - action: command restorecon -R /root/.ssh + command: restorecon -R /root/.ssh tags: - config |
