File: localhost_ansible_install.py

package info (click to toggle)
python-mitogen 0.3.43-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,816 kB
  • sloc: python: 24,940; sh: 144; makefile: 74; perl: 19; ansic: 18
file content (14 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
# SPDX-FileCopyrightText: 2026 Mitogen authors <https://github.com/mitogen-hq>
# SPDX-License-Identifier: BSD-3-Clause
from __future__ import absolute_import, division, print_function

import os

import ci_lib
from ci_lib import subprocess

with ci_lib.Fold('machine_prep'):
    os.chdir(ci_lib.IMAGE_PREP_DIR)
    subprocess.check_call('ansible-playbook -c local -i localhost, _user_accounts.yml'.split())
    subprocess.check_call('ansible-playbook -c local -i localhost, macos_localhost.yml'.split())