Skip to content

Instantly share code, notes, and snippets.

View andif888's full-sized avatar

andif888 andif888

View GitHub Profile
@andif888
andif888 / ctx-dc.yml
Created October 27, 2021 10:18
Ansible Citrix DC Setup
---
- hosts: windows_ctx_dc
vars_files:
- vars/generic.yml
roles:
- { role: ansible-role-win-dotnet48 }
tasks:
@andif888
andif888 / delegate_gather_facts.yml
Created July 30, 2021 13:14
ansible delegate gather facts
- name: delegate update facts of terraform_dc1
setup:
delegate_to: 'terraform_dc1'
delegate_facts: yes
become_method: runas
become_user: 'localadmin'
when:
- hostvars["terraform_dc1"]["ansible_ip_addresses"] is not defined
- name: display first ipv4
version: "3.3"
services:
traefik:
image: "traefik:v2.2"
container_name: "traefik"
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
@andif888
andif888 / playbook.yml
Created April 13, 2019 04:17
Ansible Playbook for Ubuntu Desktop minimal
---
- hosts: localhost
tasks:
- name: Add Apt-Keys
apt_key:
url: '{{item.name}}'
state: present
with_items:
@andif888
andif888 / .drone.yml
Created June 29, 2018 07:13
drone CI file for running a powershell container executing powershell scripts
pipeline:
power-pipe:
image: mcr.microsoft.com/powershell:ubuntu-16.04
commands:
- pwsh test.ps1 $O365_USERNAME $O365_PASSWORD
secrets: [o365_username, o365_password]