All Projects → wellavelino → ansible_qa_playbook

wellavelino / ansible_qa_playbook

Licence: other
A simple ansible playbook to configure Dev and QA machine

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ansible qa playbook

dotfiles
🏡 My dotfiles
Stars: ✭ 64 (+204.76%)
Mutual labels:  dotfiles
configs
all config files that I use/used
Stars: ✭ 14 (-33.33%)
Mutual labels:  dotfiles
dotfiles
no passwords here ... I hope 🤞
Stars: ✭ 51 (+142.86%)
Mutual labels:  dotfiles
dotfiles
dotfiles for my beautiful rices!
Stars: ✭ 440 (+1995.24%)
Mutual labels:  dotfiles
lotus-ops
Filecoin cluster deploy ansible playbook and shell scripts.
Stars: ✭ 33 (+57.14%)
Mutual labels:  ansible-playbook
dotfiles
⭐ My own world.
Stars: ✭ 12 (-42.86%)
Mutual labels:  dotfiles
dotfiles
🚀 tmux, ohmyzsh, powerlevel10k, neovim 🔧
Stars: ✭ 24 (+14.29%)
Mutual labels:  dotfiles
dotfiles
vim ⌨️ tmux 🖥 git ⑃ zsh 💤
Stars: ✭ 12 (-42.86%)
Mutual labels:  dotfiles
dotfiles
Files that start with a dot (they're very cool).
Stars: ✭ 124 (+490.48%)
Mutual labels:  dotfiles
dot
No description or website provided.
Stars: ✭ 40 (+90.48%)
Mutual labels:  dotfiles
dotfiles
@benbalter's computering environment and the scripts to initialize it and keep it up to date.
Stars: ✭ 29 (+38.1%)
Mutual labels:  dotfiles
foolz-dots
Collection of my linux desktop configuration files.
Stars: ✭ 16 (-23.81%)
Mutual labels:  dotfiles
dotfiles-legacy
. .✧ · 🌎 ✷ ✫ 🌙 · ✵ 🚀✵ * ✵ · 🌌✫ ✷ · ✧ .
Stars: ✭ 15 (-28.57%)
Mutual labels:  dotfiles
dotfiles
There is no place like ~/
Stars: ✭ 19 (-9.52%)
Mutual labels:  dotfiles
dotfiles
My personal dotfiles. do not eat
Stars: ✭ 103 (+390.48%)
Mutual labels:  dotfiles
dotfiles
⚡️ Sharpen dat knife.
Stars: ✭ 29 (+38.1%)
Mutual labels:  dotfiles
.dotfiles
💻 My settings for macOS, kitty, zsh, nvim, tmux, and more 🛠
Stars: ✭ 44 (+109.52%)
Mutual labels:  dotfiles
dotpr0n
Dotfiles for macOS, FreeBSD, fish, tmux, custom functions and lots more. Peekaboo!
Stars: ✭ 44 (+109.52%)
Mutual labels:  dotfiles
dotfiles
🍚 My minimal bspwm configurations for a beautiful workflow
Stars: ✭ 152 (+623.81%)
Mutual labels:  dotfiles
kubeadm-ansible
Kuberadmin ansible is a toolkit for simple and quick installing k8s cluster.
Stars: ✭ 37 (+76.19%)
Mutual labels:  ansible-playbook

This repository will be moved to brew soon in a different branch, for brew usaged checkout brewFormula branch

ANSIBLE QA PLAYBOOK

The repository name is a analogy to a popular speach "Short Arm" like a Trex.

Why waste time with configuration when you just need to do it once? I hate waste my time doing repetitive stuff, so if you need to keep CI machines up and running with latest versions you need to change machines constantly this is what you need!

I would say that the best feature is to update xcode just by running command line :)

How does it works?

Necessary manual steps

  • git SSH key configuration
  • Java installation you'll be asked for the machine password
  • Manually change your apple_id on ios-setup.yml given some limitations with Pexpect
     'Password \(for your email here\):'
    

Ansible Cheat Sheet:

  • -i means inventory, it tells ansible that we would like to use our inventory to load hosts
  • -e means extra-vars, it tells ansible that we're sending extra vars to be used
  • -l selects sub-module for hosts

Usage

Clone this repository

[email protected]:wellavelino/ansible_qa_playbook.git

Ansible documentation

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#latest-releases-via-pip

If you already have Pyton and pip installed on your machine just run the command below:

pip install --user ansible

Configuration

You have to add your current user to the /scrips/android.sh file to install and create properly the dependencies.

Open default.config.yml and add or remove your cask/brew packages. Also change the desired xcode version to install and Android system images.

In that same file you need to update the following variables:

the downside is that if your account has 2FA enabled it might won't work, if would like, submit a issue and i'll see to implement it.

apple_id: your apple id
apple_password: your password

Running it locally

platform playbook could be android-playbook.yml or ios-playbook.yml

ansible-playbook {platform-playbook.yml} -i hosts -l localhost"

If you would like you can make use of tags to run specifically tasks e.g

- name: check bash already configured
  stat:
    path: ~/.bash_profile
  register: "bash_profile"
  tags:
  - configuration

you could run it like

ansible-playbook {platform-playbook.yml} -i hosts -l localhost --tags "configuration"

Next steps

  • Cron jobs
  • Health check
  • Add more macOS configuration
  • 2FA login on apple store
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].