Skip to content

commands

Diego Zanga edited this page May 8, 2017 · 2 revisions

include

ref examples shell.yaml

  • include: ../digitalocean/conditionalServerCreation.yaml

user command

ref examples conditionalServerCreation.yaml

  • name: create sudoer user user: --name workeruser --sudoer --generate_ssh_key --public_ssh_private_key --password {{ workUserPwd }}

when

ref examples conditionaServerCreation.yaml

  • name: provision server provisionDigitalOcean: --nr 1 --region fra1 --distro fra1/centos-7-x64 --hardware 512mb when: "{{ nohosts }}"
Clone this wiki locally