diff options
author | Dave Johnson <dave@ansible.com> | 2016-07-21 18:16:33 +0300 |
---|---|---|
committer | Dave Johnson <dave@ansible.com> | 2016-07-21 18:16:33 +0300 |
commit | 936164e2f70245831a2135ca9a89cd583ddebc5b (patch) | |
tree | ca809c46a4cface0d1ac96eb6deba2b1db1cc360 /windows | |
parent | 9c85f13e516fceba56bcfba4fbb7793acf9b7b29 (diff) | |
parent | 375481a20a8821233257c92c493b3b0f96d7e78c (diff) |
Refactoring ansible examples
Parameterized group names for LAMP haproxy example to support multiple inventory providers
Factored out specific host patterns e.g. "hosts: jboss"
Removed specific user declarations e.g. "user: root"
Removed specific references to "sudo"
Diffstat (limited to 'windows')
-rw-r--r-- | windows/deploy-site.yml | 2 | ||||
-rw-r--r-- | windows/run-powershell.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/windows/deploy-site.yml b/windows/deploy-site.yml index 6963fd0..73f12c4 100644 --- a/windows/deploy-site.yml +++ b/windows/deploy-site.yml @@ -1,8 +1,8 @@ --- # This playbook uses the win_get_url module to download a simple HTML file for IIS - - name: Download simple web site hosts: all + gather_facts: false tasks: - name: Download simple web site to 'C:\inetpub\wwwroot\ansible.html' diff --git a/windows/run-powershell.yml b/windows/run-powershell.yml index 683c7e9..e00ed50 100644 --- a/windows/run-powershell.yml +++ b/windows/run-powershell.yml @@ -5,5 +5,5 @@ hosts: all gather_facts: false tasks: - - name: Run powershell script + - name: Run powershell script script: files/helloworld.ps1 |