ign8


Nameign8 JSON
Version 4.12.172 PyPI version JSON
download
home_pagehttps://ign8.openknowit.com
SummaryIgnite it all.
upload_time2024-07-24 06:29:39
maintainerNone
docs_urlNone
authorJakob Holst
requires_python<4.0,>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Keep ign8 and automate




### Install and update ign8

pip install --upgrade ign8


### Basic configuration

ign8 init

creates a basic ign8 configuration

/etc/ign8/ign8.json and /etc/ign8/secrets.json

```json
{
  "organization": [
    {
      "name": "ign8",
      "meta":
        {
          "description": "Keep ign8 and automate",
          "max_hosts": 100,
          "default_environment": "Ansible Engine 2.9 execution environment",
          "secrets": "files"
        },
      "projects": [
        {
          "name": "main",
          "description": "Keep ign8 and automate",
          "scm_type": "git",
          "scm_url": "git@github.com:JakobHolstDK/openknowit_ansibleautomation_main.git",
          "scm_branch": "main",
          "credential": "github",
          "master": "True"
        }
      ],
      "inventories": [
        {
          "name": "000_masterinventory",
          "description": "Inventorycontaining all servers under automation control",
	  "variables": {
		  "serviceaccount": {
	            "name": "knowit",
		    "gecos": "Ansible automation manager"
		  }
	  },
          "type": "static"
        },
        {
          "name": "001_netboxinventory",
          "description": "Inventory containing all servers in netbox",
	  "variables": {
		  "serviceaccount": {
	            "name": "knowit",
		    "gecos": "Ansible automation manager"
		  }
	  },
          "type": "netbox"
	}
      ],
      "hosts": [
        {
          "name": "prodign8001.openknowit.com", "description": "Server cabable for running selfmaintainance", "inventories": ["000_masterinventory"]
        }
      ],
      "templates": [
        {
          "name": "000_ansibleautomationmanager_checkup",
          "description": "Master job for self healing ansible automation as code",
          "job_type": "run",
          "inventory": "000_masterinventory",
          "project": "main",
          "EE": "Automation Hub Default execution environment",
          "credentials": "ign8server",
          "playbook": "checkup.yml"
        },
        {
          "name": "000_ansibleautomationmanager_update",
          "description": "Maintain ansible manager and prereqs",
          "job_type": "run",
          "inventory": "000_masterinventory",
          "project": "main",
          "EE": "Automation Hub Default execution environment",
          "credentials": "ign8server",
          "playbook": "ansiblemanager.yml"
        }
      ],
      "schedules": [
        {
          "name": "000_jobschedule_ansibleautomationmanager_checkup",
          "type": "job",
          "template": "000_ansibleautomationmanager_checkup",
          "description": "Master job for ensuring connectivity",
          "local_time_zone": "CET",
          "run_every_minute": "5",
          "start": "now",
          "end": "never"
        },
        {
          "name": "000_jobschedule_ansibleautomationmanager_update",
          "type": "job",
          "template": "000_ansibleautomationmanager_update",
          "description": "Master job updating automation manager",
          "local_time_zone": "CET",
          "run_every_minute": "5",
          "start": "now",
          "end": "never"
        },
        {
          "name": "000_projectschedule_ansibleautomationmanager",
          "type": "project",
          "project": "main",
          "description": "Master job for syncing project main",
          "local_time_zone": "CET",
          "run_every_minute": "10",
          "start": "now",
          "end": "never"
        }
      ],
      "users":
        {
          "user_vault_path": "project/openknowit/users",
          "description": "AD integration is mandatory"
        },
      "labels":
      [
        {
          "name": "static"
        },
        {
          "name": "production"
        },
        {
           "name": "test"
        }
      ]
    }
  ]
}

```
and the secret.jsob
```json
{
  "ign8": {
    "vault": 
    [
     {
      "name": "myvault",
      "description": "Credentials to access a hashicorp vault",
      "vault_id": "https://vault.example.com",
      "vault_token": "/etc/ign8/vault.token"
    }
    ],
    #  Here we have a simple server credential built using a file located on the ign8 server
    "ssh": [
     {
      "name": "ign8server",
      "username": "ign8",
      "password": "/etc/ign8/ign8server.password",
      "description": "Credentials to login to ign8 server and setup ign8 service",
      "ssh_private_key": "/opt/ign8/ign8server_rsa",
      "privilege_escalation_method": "sudo",
      "privilege_escalation_username": "root",
      "privilege_escalation_password": "/etc/ign8/ign8server.password"
    },
    {
      "name": "productionserver",
      "username": "root",
      "password": "/etc/ign8/productionserver.password",
      "description": "Credentials to login to productionservers",
      "ssh_private_key": "/opt/ign8/prodservers_rsa",
      "privilege_escalation_method": "sudo",
      "privilege_escalation_username": "root",
      "privilege_escalation_password": "xxx"
    }
    ],
  "scm":[
     {
      "name": "github",
      "username": "Githubuser",
      "password": "",
      "description": "Credential to connect to git",
      "type": "Source Control",
      "ssh_private_key": "/opt/ign8/github",
      "kind": "scm"
    }
   ]
  }
}



```



![Python Logo](https://www.python.org/static/community_logos/python-logo.png "Sample inline image")

This is the README file for IGN8
you need this to access your ansible server

export TOWER_PASSWORD="<ADMIN PAASSWORD>"
export TOWER_HOST="https://<ANSIBLE HOST>"
export TOWER_USERNAME="<ADMIN USER>"




{
  "ign8": {
    "vault": {
      "vault_addr": "https://demo.vault.com",
      "vault_token": "xcvcvbdsfgsdsdfsdfsdf"
    },
    "ssh": {
      "name": "ign8server",
      "username": "knowit",
      "password": "xxx",
      "descriptions": "Credentials to login to ign8 server and setup ign8 service",
      "ssh_private_key": "/opt/ign8/id_rsa",
      "privilege_escalation_method": "xxx"
    }
  },
  "scm": {}
}



            

Raw data

            {
    "_id": null,
    "home_page": "https://ign8.openknowit.com",
    "name": "ign8",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Jakob Holst",
    "author_email": "jakob.holst@knowit.dk",
    "download_url": "https://files.pythonhosted.org/packages/70/9d/49b919719b4e75835a1de2664b1b938399315385f2dc210d5e6c80f2bb37/ign8-4.12.172.tar.gz",
    "platform": null,
    "description": "# Keep ign8 and automate\n\n\n\n\n### Install and update ign8\n\npip install --upgrade ign8\n\n\n### Basic configuration\n\nign8 init\n\ncreates a basic ign8 configuration\n\n/etc/ign8/ign8.json and /etc/ign8/secrets.json\n\n```json\n{\n  \"organization\": [\n    {\n      \"name\": \"ign8\",\n      \"meta\":\n        {\n          \"description\": \"Keep ign8 and automate\",\n          \"max_hosts\": 100,\n          \"default_environment\": \"Ansible Engine 2.9 execution environment\",\n          \"secrets\": \"files\"\n        },\n      \"projects\": [\n        {\n          \"name\": \"main\",\n          \"description\": \"Keep ign8 and automate\",\n          \"scm_type\": \"git\",\n          \"scm_url\": \"git@github.com:JakobHolstDK/openknowit_ansibleautomation_main.git\",\n          \"scm_branch\": \"main\",\n          \"credential\": \"github\",\n          \"master\": \"True\"\n        }\n      ],\n      \"inventories\": [\n        {\n          \"name\": \"000_masterinventory\",\n          \"description\": \"Inventorycontaining all servers under automation control\",\n\t  \"variables\": {\n\t\t  \"serviceaccount\": {\n\t            \"name\": \"knowit\",\n\t\t    \"gecos\": \"Ansible automation manager\"\n\t\t  }\n\t  },\n          \"type\": \"static\"\n        },\n        {\n          \"name\": \"001_netboxinventory\",\n          \"description\": \"Inventory containing all servers in netbox\",\n\t  \"variables\": {\n\t\t  \"serviceaccount\": {\n\t            \"name\": \"knowit\",\n\t\t    \"gecos\": \"Ansible automation manager\"\n\t\t  }\n\t  },\n          \"type\": \"netbox\"\n\t}\n      ],\n      \"hosts\": [\n        {\n          \"name\": \"prodign8001.openknowit.com\", \"description\": \"Server cabable for running selfmaintainance\", \"inventories\": [\"000_masterinventory\"]\n        }\n      ],\n      \"templates\": [\n        {\n          \"name\": \"000_ansibleautomationmanager_checkup\",\n          \"description\": \"Master job for self healing ansible automation as code\",\n          \"job_type\": \"run\",\n          \"inventory\": \"000_masterinventory\",\n          \"project\": \"main\",\n          \"EE\": \"Automation Hub Default execution environment\",\n          \"credentials\": \"ign8server\",\n          \"playbook\": \"checkup.yml\"\n        },\n        {\n          \"name\": \"000_ansibleautomationmanager_update\",\n          \"description\": \"Maintain ansible manager and prereqs\",\n          \"job_type\": \"run\",\n          \"inventory\": \"000_masterinventory\",\n          \"project\": \"main\",\n          \"EE\": \"Automation Hub Default execution environment\",\n          \"credentials\": \"ign8server\",\n          \"playbook\": \"ansiblemanager.yml\"\n        }\n      ],\n      \"schedules\": [\n        {\n          \"name\": \"000_jobschedule_ansibleautomationmanager_checkup\",\n          \"type\": \"job\",\n          \"template\": \"000_ansibleautomationmanager_checkup\",\n          \"description\": \"Master job for ensuring connectivity\",\n          \"local_time_zone\": \"CET\",\n          \"run_every_minute\": \"5\",\n          \"start\": \"now\",\n          \"end\": \"never\"\n        },\n        {\n          \"name\": \"000_jobschedule_ansibleautomationmanager_update\",\n          \"type\": \"job\",\n          \"template\": \"000_ansibleautomationmanager_update\",\n          \"description\": \"Master job updating automation manager\",\n          \"local_time_zone\": \"CET\",\n          \"run_every_minute\": \"5\",\n          \"start\": \"now\",\n          \"end\": \"never\"\n        },\n        {\n          \"name\": \"000_projectschedule_ansibleautomationmanager\",\n          \"type\": \"project\",\n          \"project\": \"main\",\n          \"description\": \"Master job for syncing project main\",\n          \"local_time_zone\": \"CET\",\n          \"run_every_minute\": \"10\",\n          \"start\": \"now\",\n          \"end\": \"never\"\n        }\n      ],\n      \"users\":\n        {\n          \"user_vault_path\": \"project/openknowit/users\",\n          \"description\": \"AD integration is mandatory\"\n        },\n      \"labels\":\n      [\n        {\n          \"name\": \"static\"\n        },\n        {\n          \"name\": \"production\"\n        },\n        {\n           \"name\": \"test\"\n        }\n      ]\n    }\n  ]\n}\n\n```\nand the secret.jsob\n```json\n{\n  \"ign8\": {\n    \"vault\": \n    [\n     {\n      \"name\": \"myvault\",\n      \"description\": \"Credentials to access a hashicorp vault\",\n      \"vault_id\": \"https://vault.example.com\",\n      \"vault_token\": \"/etc/ign8/vault.token\"\n    }\n    ],\n    #  Here we have a simple server credential built using a file located on the ign8 server\n    \"ssh\": [\n     {\n      \"name\": \"ign8server\",\n      \"username\": \"ign8\",\n      \"password\": \"/etc/ign8/ign8server.password\",\n      \"description\": \"Credentials to login to ign8 server and setup ign8 service\",\n      \"ssh_private_key\": \"/opt/ign8/ign8server_rsa\",\n      \"privilege_escalation_method\": \"sudo\",\n      \"privilege_escalation_username\": \"root\",\n      \"privilege_escalation_password\": \"/etc/ign8/ign8server.password\"\n    },\n    {\n      \"name\": \"productionserver\",\n      \"username\": \"root\",\n      \"password\": \"/etc/ign8/productionserver.password\",\n      \"description\": \"Credentials to login to productionservers\",\n      \"ssh_private_key\": \"/opt/ign8/prodservers_rsa\",\n      \"privilege_escalation_method\": \"sudo\",\n      \"privilege_escalation_username\": \"root\",\n      \"privilege_escalation_password\": \"xxx\"\n    }\n    ],\n  \"scm\":[\n     {\n      \"name\": \"github\",\n      \"username\": \"Githubuser\",\n      \"password\": \"\",\n      \"description\": \"Credential to connect to git\",\n      \"type\": \"Source Control\",\n      \"ssh_private_key\": \"/opt/ign8/github\",\n      \"kind\": \"scm\"\n    }\n   ]\n  }\n}\n\n\n\n```\n\n\n\n![Python Logo](https://www.python.org/static/community_logos/python-logo.png \"Sample inline image\")\n\nThis is the README file for IGN8\nyou need this to access your ansible server\n\nexport TOWER_PASSWORD=\"<ADMIN PAASSWORD>\"\nexport TOWER_HOST=\"https://<ANSIBLE HOST>\"\nexport TOWER_USERNAME=\"<ADMIN USER>\"\n\n\n\n\n{\n  \"ign8\": {\n    \"vault\": {\n      \"vault_addr\": \"https://demo.vault.com\",\n      \"vault_token\": \"xcvcvbdsfgsdsdfsdfsdf\"\n    },\n    \"ssh\": {\n      \"name\": \"ign8server\",\n      \"username\": \"knowit\",\n      \"password\": \"xxx\",\n      \"descriptions\": \"Credentials to login to ign8 server and setup ign8 service\",\n      \"ssh_private_key\": \"/opt/ign8/id_rsa\",\n      \"privilege_escalation_method\": \"xxx\"\n    }\n  },\n  \"scm\": {}\n}\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Ignite it all.",
    "version": "4.12.172",
    "project_urls": {
        "Homepage": "https://ign8.openknowit.com",
        "Repository": "https://github.com/miracle-as/openknowit_ign8.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "149225999ba7ed59eec2285505bfc42cb1544f0c02745d96ffb3b1706c7352e1",
                "md5": "e54f9add6e5bd2f8bd247fae83968a58",
                "sha256": "9e8f7bf1245fc9397ad0c2af2974aecb4746d3b0aa6f8a4e793306b6b4be7420"
            },
            "downloads": -1,
            "filename": "ign8-4.12.172-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e54f9add6e5bd2f8bd247fae83968a58",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 560981,
            "upload_time": "2024-07-24T06:29:35",
            "upload_time_iso_8601": "2024-07-24T06:29:35.838123Z",
            "url": "https://files.pythonhosted.org/packages/14/92/25999ba7ed59eec2285505bfc42cb1544f0c02745d96ffb3b1706c7352e1/ign8-4.12.172-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "709d49b919719b4e75835a1de2664b1b938399315385f2dc210d5e6c80f2bb37",
                "md5": "e6939d7a96bc2bf13a71994b40c3dbf5",
                "sha256": "f5a20d8bf1ec3776b7602e5b5dbf0a46cdb25cfc72b931f6d3727094032b780d"
            },
            "downloads": -1,
            "filename": "ign8-4.12.172.tar.gz",
            "has_sig": false,
            "md5_digest": "e6939d7a96bc2bf13a71994b40c3dbf5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 516645,
            "upload_time": "2024-07-24T06:29:39",
            "upload_time_iso_8601": "2024-07-24T06:29:39.818205Z",
            "url": "https://files.pythonhosted.org/packages/70/9d/49b919719b4e75835a1de2664b1b938399315385f2dc210d5e6c80f2bb37/ign8-4.12.172.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-24 06:29:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "miracle-as",
    "github_project": "openknowit_ign8",
    "github_not_found": true,
    "lcname": "ign8"
}
        
Elapsed time: 0.51358s