Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/bin/bash | |
| function failure { echo $@ >&2; exit 1; } | |
| RANCHER_NAMESPACE=${RANCHER_NAMESPACE:-cattle-system} | |
| RANCHER_RELEASE_NAME=${RANCHER_RELEASE_NAME:-rancher} | |
| # Pre-Flight checks | |
| echo "ok"|sed -r "s/^(ok)/yes/"|grep yes >/dev/null \ | |
| && echo "Preflight test : sed ok" \ | |
| || failure "Your sed does not support extended regexp, more info at https://github.com/rancher/rancher/issues/35319#issuecomment-1173825923" |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| --- | |
| - hosts: windows | |
| vars: | |
| ansible_site_path: "c:\\inetpub\\wwwroot\\ansibletest" | |
| staging_path: "c:\\deploy" | |
| ansible_test_staging_path: "{{ staging_path }}\\ansible-test-site-{{ ansible_date_time.year }}{{ ansible_date_time.month }}{{ ansible_date_time.day }}" | |
| tasks: | |
| - name: install-iis | |
| win_feature: | |
| name: "Web-Server" |
| #!/bin/sh | |
| set -e | |
| LIST=$1; | |
| DUE=$2; | |
| WUNDERLISTDB="$HOME/Library/Containers/com.wunderkinder.wunderlistdesktop/Data/Library/Application Support/Wunderlist/WKModel.sqlite" | |
| if [ "$LIST" == 'Inbox' ]; then | |
| LID="AND ZTASKLIST is null"; |