This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Docker-compose for setting up Mongodb server on my laptop | |
| version: '2' | |
| networks: | |
| mongodb_net: | |
| driver: bridge | |
| ipam: | |
| driver: default | |
| config: | |
| - subnet: 192.168.213.0/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| networks: | |
| mongodb_net: | |
| driver: bridge | |
| ipam: | |
| driver: default | |
| config: | |
| # Change this subnet range if it conflicts with your personal/work network | |
| - subnet: 192.168.213.0/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Configure PostgreSQL streaming replication | |
| hosts: database_slave | |
| pre_tasks: | |
| - name: Remove recovery.conf | |
| file: | |
| path: /var/lib/pgsql/9.4/data/recovery.conf | |
| state: absent | |
| - name: Add slave to database group |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Gather facts | |
| hosts: all | |
| become: yes | |
| - name: Stop Ansible Tower | |
| hosts: tower | |
| become: yes | |
| tasks: | |
| - name: Stop Ansible Tower |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| skamithi-personal:test_template_includes:% tree roles | |
| roles | |
| └── tomcat | |
| └── templates | |
| ├── appA.j2 | |
| ├── appB.j2 | |
| └── main.j2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.ssh.insert_key = false | |
| config.vm.provider :libvirt do |libvirt| | |
| libvirt.nic_model_type = "e1000" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFO global: Vagrant version: 2.0.0 | |
| INFO global: Ruby version: 2.3.4 | |
| INFO global: RubyGems version: 2.5.2.1 | |
| INFO global: VAGRANT_OLD_ENV_NVM_IOJS_ORG_MIRROR="https://iojs.org/dist" | |
| INFO global: VAGRANT_OLD_ENV_GTK_IM_MODULE="ibus" | |
| INFO global: VAGRANT_OLD_ENV_JAVA_HOME="/usr/lib/jvm/java-8-oracle" | |
| INFO global: VAGRANT_OLD_ENV__system_version="16.04" | |
| INFO global: VAGRANT_OLD_ENV_RUBY_VERSION="ruby-2.3.3" | |
| INFO global: VAGRANT_OLD_ENV_CLUTTER_IM_MODULE="xim" | |
| INFO global: VAGRANT_OLD_ENV_XDG_MENU_PREFIX="gnome-" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tower_package_name: 'ansible-tower' | |
| tower_package_version: '3.2.1' | |
| tower_package_release: '1' | |
| # BEGIN ANSIBLE MANAGED BLOCK | |
| admin_password: "tower" | |
| pg_host: "postgres1" | |
| pg_port: '5432' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - hosts: mylist | |
| gather_facts: no | |
| pre_tasks: | |
| - name: get file name | |
| set_fact: | |
| fake_vault_file: "{{ inventory_hostname}}.txt" | |
| - name: get host specific creds from "fake" password vault | |
| set_fact: | |
| creds: "{{ lookup('file', fake_vault_file) | from_yaml }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Test App", | |
| "main": "main.js", | |
| "displayName": "Navigation Drawer", | |
| "templateType": "App template", | |
| "version": "7.0.6", | |
| "description": "NativeScript Application", | |
| "author": "NativeScript Team <oss@nativescript.org>", | |
| "license": "SEE LICENSE IN <your-license-filename>", | |
| "publishConfig": { |