From 47ea7ba28a657ef2955ab95e6115c066330b15ba Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sat, 23 Mar 2024 12:25:40 -0400 Subject: [PATCH] Adds vault files to be copied to clients --- ansible/ansible.cfg | 2 +- nvim/m-housh/lazy-lock.json | 5 ++- nvim/m-housh/lua/user/plugins.lua | 1 + ssh/config | 62 +++++++++++++++++++++++++++++++ zsh/config/.zshenv | 2 + 5 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 ssh/config diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 4dd870b..32183bc 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -274,7 +274,7 @@ roles_path={{ ANSIBLE_HOME ~ "~/.local/ansible/roles:/roles:/usr/share/ansible/r # (path) The vault password file to use. Equivalent to --vault-password-file or --vault-id # If executable, it will be run and the resulting stdout will be used as the password. -;vault_password_file= +vault_password_file=~/.local/ansible/.vaultpwd # (integer) Sets the default verbosity, equivalent to the number of ``-v`` passed in the command line. ;verbosity=0 diff --git a/nvim/m-housh/lazy-lock.json b/nvim/m-housh/lazy-lock.json index b8d4f34..5e8efe8 100755 --- a/nvim/m-housh/lazy-lock.json +++ b/nvim/m-housh/lazy-lock.json @@ -33,15 +33,16 @@ "nvim-lsp-installer": { "branch": "main", "commit": "17e0bfa5f2c8854d1636fcd036dc8284db136baa" }, "nvim-lspconfig": { "branch": "master", "commit": "24662f92c18edd397ef12d635b11dbdedef2d094" }, "nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" }, - "nvim-treesitter": { "branch": "master", "commit": "a951dcb7ec253544b0150251008de8b06a0874cd" }, + "nvim-treesitter": { "branch": "master", "commit": "b009aba903565163442f2adecff72bc3193bb8fd" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" }, - "nvim-web-devicons": { "branch": "master", "commit": "cb0c967c9723a76ccb1be0cc3a9a10e577d2f6ec" }, + "nvim-web-devicons": { "branch": "master", "commit": "585b2dc4bba2b5973f2b1d3e576709af5ac34fb6" }, "plenary.nvim": { "branch": "master", "commit": "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" }, "swift.nvim": { "branch": "main", "commit": "bbbd2e5eb988920ac35f00e67fbb08cb2ebbe958" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, "telescope.nvim": { "branch": "0.1.x", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }, "todo-comments.nvim": { "branch": "main", "commit": "833d8dd8b07eeda37a09e99460f72a02616935cb" }, "toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" }, + "vim-just": { "branch": "main", "commit": "364e35e0b01787c8328689e09ed79218d8f7b49d" }, "vim-tmux-navigator": { "branch": "master", "commit": "38b1d0402c4600543281dc85b3f51884205674b6" }, "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }, "wrapping.nvim": { "branch": "master", "commit": "2b74a9fa326ad42e2a509f9e49543471d2d7c1ea" }, diff --git a/nvim/m-housh/lua/user/plugins.lua b/nvim/m-housh/lua/user/plugins.lua index dc71ffd..2fcf42b 100755 --- a/nvim/m-housh/lua/user/plugins.lua +++ b/nvim/m-housh/lua/user/plugins.lua @@ -60,5 +60,6 @@ require("lazy").setup({ opts = { } }, { import = 'user.plugin.todo-comments' }, + { "NoahTheDuke/vim-just", ft = { "just" } }, }) diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..67e2fca --- /dev/null +++ b/ssh/config @@ -0,0 +1,62 @@ +$ANSIBLE_VAULT;1.1;AES256 +33386562313464656165306335313735663161313532663535663432343134356534666663336332 +6439643532623730636132663764303731633037326332660a626538343662663639666237316362 +64323739343938316634613730326535643032383335333534643734653638666265626338653863 +6363393465643833330a643133663863653666653265623964333136353161316630376134353539 +66353666636462326261643338396338336539363662633136623334663832313765383739386466 +32623538393730383363643361653061343636363833656563356433363033353936633235636463 +38356463343237633163393162613930616430373430306232653865613466343136653634343137 +65313166306466333466393635383234616264616336346136636463633030303739376332396136 +37626566633731303532323135663036643238393833376461666262313266303037376337353237 +66396561653430343536613564643461663632633833653861653437393066663634323231626565 +34353037303666653434656162343363646566376236343038343435353931663138323238633632 +62376166363864366462643637613230346565323732613165333461653764323330303436383037 +33613436656265626533653939633339383061313061373061343736633336343361663432343030 +36376238613366303435383138653965366639313830383838313436386635633538386339313333 +63306434326635663062343230363435363633393862666365643538383137303436323132356438 +31646637396566313130623936633363626563343061383662653635313835623132353231653438 +38646362643536666339663166333737383565633836333632386338326631643730623462383539 +35646165663238366432396334653834646134613430366239626130356661386232613938343565 +33323234393037613638323538643738353035383062353561373761353235376239346561636539 +30373935633135663034353237346232396665613431623663333437633861313065343963626638 +33616530663265613333626638646562626166376432643564393830623961643237303962656533 +32656164353336663135333163616434623466363462616263333663326632373861663932643039 +30663034653163366266343936393661343239366131613534613039323035383565313832316538 +66323230313365363333646135653137323237633730383634386565623231333230316633653163 +66313164393932383137373031633334373131386365393830303533353831666363636366613065 +35663462666463396235353139616563376132343066326363346237306637353634363965316564 +61643562393632346533303034623236393833316465376139616236646536323837396133666364 +65653835376536656437303462303039666334343639386663343766383064356234323163653133 +35653034633962633131343938656639313830373332323437363361386338653032633563353833 +38343036306161323339373233396331653336306238336631323263393766323738666538666630 +63613661396163303434653865366362303561663539383434373365363834626433373336323034 +64633037613336613533383736356562386539656631333732613062653935306334303934656163 +65353334323664386462663237306432303566633138616530353339623865663338376132383436 +34303631303432393332353234386133613833636562393336623035646538653634393036323437 +33313465643239366138343032643338383430666531313635383663333535373536343065356437 +35353861326266316538663035353931616239616636663135363734323361636166303932393765 +62626438376561313664616334376634383838363634393963383433643662643162313565653531 +32336238653631353531346434303661383835353561623664646664366234633536653761666434 +66333165306165313432313261376533616135393136323435333231343463626632313364646165 +65653462643035313330643263366562633939626130306436663063336438636533393862623461 +64313633616135653437663735303766386262663131646264376664313462313666646431373935 +63303463616238626365343238363862383464303635363035376132343864386662393338353530 +33633535646632353632616135303765373232376464343834303135613039343532626461613866 +39646131626332313632356635303833356337623364646432366530646461303535633333616331 +38353464663533363263636433633937376130373439386336326538313137383435366665613039 +35363661396434323862653065613036306536653561376438346637396430336237333033333830 +64373030633030353739353835393963393162333830343830393832636565366637653738333337 +62616237623738363739636163396435393832623062383934343137396264663635313330303333 +32653238396636353939623837313863346539633637613832646637613265663932643661313531 +39653836616562656436356633393531383339326263636561613934663835643062626335323033 +32323138663762633537646565383632656532613936636264353963373463656534636334306366 +38303834346261373531393463363662643739623861353333626435656536373730343464613763 +64666661346237303233326635313135383630613534613334323438653235386566643336386239 +39393261636333643562313033646363363163396363393339623238313430643763303137363562 +36633734303664303861633434346639383033353765343534343932346465393733373530623637 +66396437613463656638333131643637336231323939616464323636366563643163633961353839 +32396137386266323531643032303837323732373934393333643432616564396661633932653430 +65616131393832316561616435363936626534636632663962616631663136336331303665613932 +39363939633238653562623334336131316632336263623532313533363363363963396532343066 +35313561386465636330353439326235613561376266323061393737623838393362306633323466 +30636264393666656139346132373333353835623031666431666461626134396638 diff --git a/zsh/config/.zshenv b/zsh/config/.zshenv index 5992cb5..8db9ff5 100755 --- a/zsh/config/.zshenv +++ b/zsh/config/.zshenv @@ -78,6 +78,8 @@ export VAULT_ADDR="https://vault.housh.dev" # Ansible export ANSIBLE_HOME="$XDG_CONFIG_HOME/ansible" +export ANSIBLE_VAULT_PASSWORD_FILE="$XDG_DATA_HOME/ansible/.vaultpwd" +export DEFAULT_VAULT_PASSWORD_FILE="$XDG_DATA_HOME/ansible/.vaultpwd" # Tmux-Sessionator path. export TMUX_SESSIONATOR_PATH="$HOME:$SCRIPTS:$LOCAL_REPOS:$HHE_REPOS:$REPOS:$GH_REPOS"