From 1d9a3db4c8a798de258644853ce4a4bd9dfbe10b Mon Sep 17 00:00:00 2001 From: c0de Date: Sun, 12 Jan 2025 10:55:03 -0600 Subject: [PATCH] Embed license into existing files --- group_vars/ubuntu.yml | 14 ++++++++++++++ inventories/ubuntu.yml | 14 ++++++++++++++ roles/ubuntu/README.md | 18 +++++++++++++++++- roles/ubuntu/defaults/main.yml | 14 ++++++++++++++ roles/ubuntu/handlers/main.yml | 14 ++++++++++++++ roles/ubuntu/meta/main.yml | 14 ++++++++++++++ roles/ubuntu/tasks/main.yml | 14 ++++++++++++++ roles/ubuntu/tasks/packages.yml | 14 ++++++++++++++ roles/ubuntu/tasks/services.yml | 14 ++++++++++++++ roles/ubuntu/tasks/upgrades.yml | 14 ++++++++++++++ roles/ubuntu/tasks/users.yml | 14 ++++++++++++++ roles/ubuntu/vars/main.yml | 14 ++++++++++++++ setup-ubuntu.yml | 14 ++++++++++++++ 13 files changed, 185 insertions(+), 1 deletion(-) diff --git a/group_vars/ubuntu.yml b/group_vars/ubuntu.yml index 5378cf0..3594622 100644 --- a/group_vars/ubuntu.yml +++ b/group_vars/ubuntu.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + --- # Disable unwanted services diff --git a/inventories/ubuntu.yml b/inventories/ubuntu.yml index 92a3c7c..8e08c4b 100644 --- a/inventories/ubuntu.yml +++ b/inventories/ubuntu.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + --- ubuntu: diff --git a/roles/ubuntu/README.md b/roles/ubuntu/README.md index a84cf3a..908de83 100644 --- a/roles/ubuntu/README.md +++ b/roles/ubuntu/README.md @@ -1,3 +1,19 @@ + + Ubuntu ========= @@ -64,7 +80,7 @@ Example Playbook License ------- -BSD-3-Clause +[Apache 2.0](../../LICENSE.md) Author Information ------------------ diff --git a/roles/ubuntu/defaults/main.yml b/roles/ubuntu/defaults/main.yml index 6cf5a15..ec68f07 100644 --- a/roles/ubuntu/defaults/main.yml +++ b/roles/ubuntu/defaults/main.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/roles/ubuntu/handlers/main.yml b/roles/ubuntu/handlers/main.yml index 5c9da2f..f4066ed 100644 --- a/roles/ubuntu/handlers/main.yml +++ b/roles/ubuntu/handlers/main.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/roles/ubuntu/meta/main.yml b/roles/ubuntu/meta/main.yml index ec2642f..7a752d3 100644 --- a/roles/ubuntu/meta/main.yml +++ b/roles/ubuntu/meta/main.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause galaxy_info: author: Code Fox diff --git a/roles/ubuntu/tasks/main.yml b/roles/ubuntu/tasks/main.yml index a3155ae..8f75b04 100644 --- a/roles/ubuntu/tasks/main.yml +++ b/roles/ubuntu/tasks/main.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/roles/ubuntu/tasks/packages.yml b/roles/ubuntu/tasks/packages.yml index 5a85b66..d723a91 100644 --- a/roles/ubuntu/tasks/packages.yml +++ b/roles/ubuntu/tasks/packages.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/roles/ubuntu/tasks/services.yml b/roles/ubuntu/tasks/services.yml index 9628ae2..5a217cb 100644 --- a/roles/ubuntu/tasks/services.yml +++ b/roles/ubuntu/tasks/services.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/roles/ubuntu/tasks/upgrades.yml b/roles/ubuntu/tasks/upgrades.yml index 83837d9..3648abc 100644 --- a/roles/ubuntu/tasks/upgrades.yml +++ b/roles/ubuntu/tasks/upgrades.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/roles/ubuntu/tasks/users.yml b/roles/ubuntu/tasks/users.yml index b5f5586..c387957 100644 --- a/roles/ubuntu/tasks/users.yml +++ b/roles/ubuntu/tasks/users.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + --- - name: "Setup {{ ubuntu_passwordless_sudo_group }} group" diff --git a/roles/ubuntu/vars/main.yml b/roles/ubuntu/vars/main.yml index 6ebcad7..27b1a78 100644 --- a/roles/ubuntu/vars/main.yml +++ b/roles/ubuntu/vars/main.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #SPDX-License-Identifier: BSD-3-Clause --- diff --git a/setup-ubuntu.yml b/setup-ubuntu.yml index 53aa2de..3955dea 100644 --- a/setup-ubuntu.yml +++ b/setup-ubuntu.yml @@ -1,3 +1,17 @@ +# Copyright 2025 Code Fox +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + --- - name: Setup Ubuntu