This file contains 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
[DEV_CPE_SERVERS] | |
DEV_CPE_NODE_1 ansible_host=x.x.x.x | |
[TEST_CPE_SERVERS] | |
TEST_CPE_NODE_1 ansible_host=x.x.x.x | |
[RUN_CPE_SERVERS] | |
RUN_CPE_NODE_1 ansible_host=x.x.x.x | |
RUN_CPE_NODE_2 ansible_host=x.x.x.x |
This file contains 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
s |
This file contains 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
04aaa9180b9559d09108424653effc074a8c7c7d0bc4d847133d8710e901d7faf5b20f6fbebbb378f8fee718cc29a8162a71638d972831396e08ad281ade133840 |
This file contains 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains 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
# ╔═════════════════════════════════════════════════════╗ | |
# ║ Create Updated Stash File On Secondary SDS Server ║ | |
# ╚═════════════════════════════════════════════════════╝ | |
# - name: Check To See if Secondary Stash File Has Already Been Created | |
# stat: | |
# path: "{{ SDS_INSTANCE_DIR}}/etc/stash.lock" | |
# register: STASHLOCK | |
# |
This file contains 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
Write-Output "Disabling WinRM over HTTP..." | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP" | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" | |
Get-ChildItem WSMan:\Localhost\listener | Remove-Item -Recurse | |
Write-Output "Configuring WinRM for HTTPS..." | |
Set-Item -Path WSMan:\LocalHost\MaxTimeoutms -Value '1800000' | |
Set-Item -Path WSMan:\LocalHost\Shell\MaxMemoryPerShellMB -Value '1024' | |
Set-Item -Path WSMan:\LocalHost\Service\AllowUnencrypted -Value 'false' | |
Set-Item -Path WSMan:\LocalHost\Service\Auth\Basic -Value 'true' |
This file contains 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
as |
This file contains 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
CPE: | |
compat-libstdc++-296.i686 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 compat-db.i686 compat-db.x86_64 libgcc.i686 libgcc.x86_64 libstdc++.i686 libstdc++-devel libstdc++.x86_64 glibc.i686 glibc.x86_64 glibc-common.i686 glibc-common glibc-devel.i686 glibc-devel glibc-headers.i686 glibc-headers binutils libXpm.i686 libXpm.x86_64 libXft.i686 libXft.x86_64 libXtst.i686 libXtst.x86_64 libXp.i686 libXp.x86_64 gtk2.x86_64 gtk2.i686 gtk2-engines.i686 gtk+extra.i686 gtk+extra.x86_64 xorg-x11-utils.x86_64 xorg-x11-apps.x86_64 libaio libaio.i686 libaio-devel libaio-devel.i686 adwaita-gtk2-theme.x86_64 adwaita-gtk3-theme.x86_64 adwaita-gtk2-theme.i686 | |
ICN: | |
PackageKit-gtk-module.i686 | |
libcanberra-gtk2.i686 | |
gtk2-engines.i686 |
This file contains 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
## credit: http://fabian-affolter.ch/blog/the-lineinfile-module-of-ansible/ | |
--- | |
- hosts: alpine_install | |
user: root | |
tasks: | |
# - name: create a complete empty file | |
# command: /usr/bin/touch /test/test.conf | |
- name: create a new file with lineinfile |
NewerOlder