Capgemini / Capgemini/kubeform

Move setup-network-environment.service to ansible

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
328
Forks
54
PR merge metrics
No merged PRs in 30d

Description

The below is current deployed by cloud config. Seems best to keep cloud config fairly light-touch and move this to ansible if we can to live in a 'common' role or somewhere near network related code (when we also move flannel).

```
name: setup-network-environment.service
command: start
content: |
[Unit]
Description=Setup Network Environment
Documentation=https://github.com/kelseyhightower/setup-network-environment
Requires=network-online.target
After=network-online.target

[Service]
ExecStartPre=-/usr/bin/mkdir -p /opt/bin
ExecStartPre=/usr/bin/curl -L -o /opt/bin/setup-network-environment -z /opt/bin/setup-network-environment https://github.com/kelseyhightower/setup-network-environment/releases/download/v1.0.0/setup-network-environment
ExecStartPre=/usr/bin/chmod +x /opt/bin/setup-network-environment
ExecStart=/opt/bin/setup-network-environment
RemainAfterExit=yes
Type=oneshot
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.