{"id":15348187,"url":"https://github.com/ironcore864/maas-ansible","last_synced_at":"2026-01-06T22:49:22.657Z","repository":{"id":73865944,"uuid":"160663780","full_name":"IronCore864/maas-ansible","owner":"IronCore864","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-06T11:18:14.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T22:12:56.422Z","etag":null,"topics":["ansible","baremetal","configuration-management","devops","maas"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IronCore864.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-06T11:15:19.000Z","updated_at":"2024-10-07T10:16:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"602004aa-03bb-46c1-a912-560e68384095","html_url":"https://github.com/IronCore864/maas-ansible","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"d155fa37d4340ba3b6595b1562c9abf11af50ed0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fmaas-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fmaas-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fmaas-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronCore864%2Fmaas-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronCore864","download_url":"https://codeload.github.com/IronCore864/maas-ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245907556,"owners_count":20691956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","baremetal","configuration-management","devops","maas"],"created_at":"2024-10-01T11:45:17.917Z","updated_at":"2026-01-06T22:49:22.632Z","avatar_url":"https://github.com/IronCore864.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MAAS\n\nEverything that is related to MAAS automation.\n\n## 0 Local Dependencies\n\n- VirtualBox and Vagrant (used only for the `local` inventory)\n- Ansible (used both for local, and on the maas-server)\n\n## 1 Inventories\n\n- local\n\nThe local one is only used for some local test and play with MAAS.\n\nMore detailed steps see [HERE](maas_local_install_and_test_with_virtualbox.md).\n\n- dev\n\nAn example for non-vm env.\n\n## 2 Installation of MAAS Region/Rack Controller\n\nThis is done via a manual install, everything default, with Ubuntu Server ISO latest version Ubuntu 18.04.1 LTS.\n\n## 3 Run Playbook\n\n### 3.1 Local ENV\n\nIf you want to create a maas in a VM locally to have a test:\n\n```\nvagrant up\nansible-playbook -i inventories/local playbooks/local.yml\n```\n\nThis will launch a VM with Ubuntu 18.04 and install maas, and create a default admin user.\n\n**Note:** since this role creates an MAAS admin, and without the admin user it's impossible to check existing users from CLI, so:\n\n- this playbook can't be run twice\n- if it fails somewhere after admin user creation, you will have to delete the admin via web UI then re-run it\n\nTo cleanup local VMs: `vagrant destroy -f`\n\n### 3.2 Non-VM ENV Main playbook\n\nBecause configuring maas requires login, maas-cli, etc, this has to be done on the maas server.\n\n```\n# MAAS server admin user and IP, can only reached within office network\nssh tiexin@192.168.200.9\n# clone this repo\nansible-playbook -i inventories/dev main.yml\n```\n\nThis playbook also is compatible with local VM maas created by the previous step.\n\n**Note:** this is not Not tested because the maas server does not have access to all the nodes, some are created by others.\n\n## 4 Others\n\n### 4.1 MAAS CLI\n\nExamples see [HERE](maas_cli.md). \n\n### 4.2 MAAS HA\n\nDiscussion see [HERE](maas_ha.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore864%2Fmaas-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironcore864%2Fmaas-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore864%2Fmaas-ansible/lists"}