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
$ ansible-playbook upgrade-cluster.yml -b -K -i inventory/non-prod.cfg --check | |
SUDO password: | |
[WARNING]: Could not match supplied host pattern, ignoring: bastion | |
PLAY [bastion[0]] ******************************************************************************************************************************************************* | |
skipping: no hosts matched | |
PLAY [k8s-cluster:etcd:calico-rr] *************************************************************************************************************************************** |
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
FROM ruby:2.4-alpine | |
RUN gem install ultrahook | |
ENTRYPOINT ["ultrahook"] |
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
#!/bin/sh | |
#writing content to a file | |
write_commands () | |
{ | |
file=$1 | |
#adding MELPA repository | |
echo "(require 'package)" >> $file | |
echo "(add-to-list 'package-archives '(\"melpa\" . \"http://melpa.org/packages/\"))" >> $file | |
echo "(package-initialize)" >> $file |